package com.hy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hy.entity.dto.ProperSortDTO;
import com.hy.entity.pojo.HyPropertySort;
import com.hy.entity.vo.HyPropertySortVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HyPropertySortMapper extends BaseMapper<HyPropertySort> {




    List<HyPropertySortVO> showPropertySortByDto(@Param("page")Page page, @Param("dto")ProperSortDTO sortDTO);

    Integer findSortIdByUnitIDAndSortName(@Param("unitId") Integer unitId, @Param("sortName") String propertyType);

    List<HyPropertySortVO> findHyPropertyListByMap(Map<String, Object> queryCondition);
}
